package com.ruoyi.file.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件对象 s_plm_rts_file
 * 
 * @author zbw
 * @date 2022-08-02
 */
public class File extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件id */
    private String fileId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 描述 */
    @Excel(name = "描述")
    private String fileDescription;

    /** 上传人 */
    @Excel(name = "上传人")
    private String uploadName;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String fileType;

    /** 文件 */
    @Excel(name = "文件")
    private String fileUrl;

    public void setFileId(String fileId) 
    {
        this.fileId = fileId;
    }

    public String getFileId() 
    {
        return fileId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileDescription(String fileDescription) 
    {
        this.fileDescription = fileDescription;
    }

    public String getFileDescription() 
    {
        return fileDescription;
    }
    public void setUploadName(String uploadName) 
    {
        this.uploadName = uploadName;
    }

    public String getUploadName() 
    {
        return uploadName;
    }
    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("fileName", getFileName())
            .append("fileDescription", getFileDescription())
            .append("createTime", getCreateTime())
            .append("uploadName", getUploadName())
            .append("fileType", getFileType())
            .append("fileUrl", getFileUrl())
            .toString();
    }
}
